func go/types.allInteger
14 uses
go/types (current package)
expr.go#L68: token.XOR: allInteger,
expr.go#L175: if !allInteger(x.typ) {
expr.go#L322: if !allInteger(typ) {
expr.go#L599: if allInteger(x.typ) || isUntyped(x.typ) && xval != nil && xval.Kind() == constant.Int {
expr.go#L636: case allInteger(y.typ):
expr.go#L721: if !allInteger(x.typ) {
expr.go#L739: token.REM: allInteger,
expr.go#L741: token.AND: allInteger,
expr.go#L742: token.OR: allInteger,
expr.go#L743: token.XOR: allInteger,
expr.go#L744: token.AND_NOT: allInteger,
expr.go#L808: if (x.mode == constant_ || allInteger(x.typ)) && y.mode == constant_ && constant.Sign(y.val) == 0 {
index.go#L390: if !allInteger(x.typ) {
predicates.go#L49: func allInteger(t Type) bool { return allBasic(t, IsInteger) }
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)